package com.fc.advbox.dto.org;

import com.fc.advbox.dto.BasePage;
import com.fc.advbox.utils.Constant;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.apache.commons.beanutils.BeanMap;

import java.util.Date;
import java.util.Map;

/**
 * ContractRequest
 *
 * @author Gary.Jiang
 * @date 2018/6/25.14:23
 */
@Getter
@Setter
@ToString
public class ContractRequest extends BasePage {

    private String jiaOrgId;
    private String yiOrgId;
    private String name;
    private String province;
    private String city;
    private String type;
    private Date startDate;
    private Date endDate;
    private Integer interva; //7天到期, 30天到期

    public Map toMap(){
        return new BeanMap(this);
    }
}
